Skip to content

Conversation

larskrjo
Copy link
Contributor

Fixed ordering of ternary operator in the example when written out as if / else statements. The ternary operator is right-associative so it groups expressions from the right, and not left.

Copy link

netlify bot commented Sep 16, 2025

👷 Deploy request for pythoncheatsheet pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit a6884ba

@wilfredinni wilfredinni merged commit f5553dc into wilfredinni:master Oct 12, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants